import Vue from 'vue'
import App from './App'

import 'sign-pad/dist/sign-pad'

Vue.config.productionTip = false

App.mpType = 'app'

Element.prototype.insertAfter = function(targetNode, afterNode) {

	var beforeNode = afterNode.nextElementSibling;

	if (beforeNode == null) { //判断要插入的这个节点后面是否含有节点
		this.appendChild(targetNode)
	} else {
		this.insertBefore(targetNode, beforeNode);
	}

}

const app = new Vue({
	...App
})
app.$mount()
